<template>
  <div class="header">
    <router-link to="/">
      <div class="header-left">
        <div class="iconfont back-icon">&#xe624;</div>
      </div>
    </router-link>
    <p class="header-name">城市选择</p>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
  @import '~styles/varibles.styl'
  .header
    position: relative
    height: $headerHeight
    line-height $headerHeight
    background: $bgColor
    color: #fff
    text-align: center
    .header-left
      position absolute
      width: .64rem
      float:left
      .back-icon
        color: #fff
        font-size: .35rem
    .header-name
        font-size: .35rem
</style>
